namespace Leey.Net.eTerm
{
    using System;
    using System.IO;
    using System.Net.Sockets;

    public class InceptServerEventArgs : EventArgs
    {
        private readonly Stream datastream;
        private readonly Socket serverSocket;
        private readonly MyTcpIpServer tcpIpServer;

        public InceptServerEventArgs(Stream Astream, Socket ServerSocket, MyTcpIpServer TcpIpServer)
        {
            this.datastream = Astream;
            this.serverSocket = ServerSocket;
            this.tcpIpServer = TcpIpServer;
        }

        public Stream Astream
        {
            get
            {
                return this.datastream;
            }
        }

        public Socket ServerSocket
        {
            get
            {
                return this.serverSocket;
            }
        }

        public MyTcpIpServer TcpIpServer
        {
            get
            {
                return this.tcpIpServer;
            }
        }
    }
}
